/* eslint-disable indent */
const cinemaview: Object = {
    state: {
        // 创建控制弹出框的状态
        navBool: false,
        dialogFormVisible: false,
        // 编辑信息
        listdata: {},
        // 添加信息
        uplistData: {},
    },
    getters: {},
    mutations: {
        // 修改
        SET_DIALOG(state: any) {
            state.dialogFormVisible = !state.dialogFormVisible;
        },
        SET_DIALOGFalse(state: any) {
            state.dialogFormVisible = false;
        },
        SET_NAV(state: any) {
            state.navBool = !state.navBool;
        },
        List(state: any, obj: any) {
            state.listdata = JSON.parse(JSON.stringify(obj));
        },
        Date(state: any, obj: any) {
            state.uplistData = JSON.parse(JSON.stringify(obj));
        },

    },
    actions: {},
};
export default cinemaview;
